package com.company.jvm;

import com.company.jvm.StringTest.Maintest;

import java.util.Scanner;

/**
 * @author ylr
 * @version 1.0.0
 * @ClassName Test.java
 * @Description TODO
 * @createTime 2021年10月25日 13:08:00
 */
public class Test {
    public static void main(String[] args) {
        Maintest maintest = new Maintest();
        System.out.println("--------------");
//        Arrays.copyOf()
        try {
            Scanner scanner = new Scanner(System.in);
            String s1 = scanner.nextLine();
            String s = "com.company.jvm.StringTest.Maintest";
            Class<?> aClass = Class.forName(s1);
            aClass.getConstructor().newInstance();
        }catch (Exception e){
            e.printStackTrace();
        }

    }
}
